package cn.txy.course.service.impl;

import cn.txy.base.service.impl.BaseServiceImpl;
import cn.txy.course.domain.Course;
import cn.txy.course.mapper.CourseMapper;
import cn.txy.course.query.CourseQuery;
import cn.txy.course.service.CourseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CourseServiceImpl extends BaseServiceImpl<Course> implements CourseService {
    @Autowired
    private CourseMapper courseMapper;
    @Override
    public List<Course> queryPage(CourseQuery courseQuery) {
        return courseMapper.queryPage(courseQuery);
    }

}
